-
-
Notifications
You must be signed in to change notification settings - Fork 77
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add missing facts for Fedora 20, 21, and 26 #50
Conversation
Thank you very much for your contribution! |
No problem. I have noticed a slight issue on modules that only have Fedora 20 listed as a supported OS. For example, rspec will show an error like this.
|
@blackknight36 yeah, there seems to be something wrong with the facts you collected. https://github.com/camptocamp/facterdb/pull/50/files#diff-3f46c0bba56680b5787d4de77b8a8d98R16 shows |
@DavidS It looks like the node itself has an older version of facter than the system I'm running tests on.
Changing the facterversion fact to "2.4.1" does allow tests to run under Fedora 20 as shown below.
I can submit another PR to fix this if you want. |
The point of the facterdb is to collect the actual facts from a specific facter version on a specific OS. Just changing the facterversion in the json is not sufficient, since different facter versions have different sets of facts, and would make tests of other modules based on those facts invalid. Even for your own use-case, testing against 2.4 facts is pretty useless, if the code will run against 1.7.6 in production. |
I've opened #54 to rectify the bigger issue of wrong data. |
Added fact files for Fedora 20, 21, and 26 to the facter 2.4 database.